$(function(){
	
         var Viewteacherinformation=document.getElementById("View teacher information");     
         var Classcj_Check=document.getElementById("Classcj_Check");
         
         var Studentcj_Check=document.getElementById("Studentcj_Check");
         var Modifyteacherinformation=document.getElementById("Modify teacher information");
         var Viewclassinformation=document.getElementById("View class list");
         var Viewstudentlist=document.getElementById("View student list");
         var Attendancemanagement=document.getElementById("Attendance management");
         var iframe=document.getElementById("iframe");
         
         
         
         var dizhi = "http://localhost:8080";
         Viewteacherinformation.onclick = function(){
           $("#iframe").attr('src',dizhi+"/blackhouse/static/html/see-sub-tea.html");
        }
         
                  Classcj_Check.onclick = function(){
           $("#iframe").attr('src',"http://localhost:8080/blackhouse/static/html/Classcj_Check.html");
        }
                       Studentcj_Check.onclick = function(){
           $("#iframe").attr('src',"http://localhost:8080/blackhouse/static/html/show-sturesult.html");
        }
          Modifyteacherinformation.onclick = function(){
           $("#iframe").attr('src',dizhi+"/blackhouse/static/html/change-teacherinfo.html");
        }
           Viewclassinformation.onclick = function(){
           $("#iframe").attr('src',"http://localhost:8080/blackhouse/static/html/View%20class%20list.html");
        }
             Viewstudentlist.onclick = function(){
           $("#iframe").attr('src',dizhi+"/blackhouse/static/html/Check_Student.html");
        }
           
                Add_Results.onclick = function(){
           $("#iframe").attr('src',"http://localhost:8080/blackhouse/static/html/Add_Results.html");
        }
           
            
})
